<template>
	<view class="books">
		<image class="myimg" mode="aspectFit" src="../../../static/2.jpg"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				item:"99"
			}
		},
		mounted(e) {
			this.item = getApp().globalData.item
			console.log(this.item)
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.books{
		width: 100%;
		//height: 100%;
		padding: 5px;
		background-color: #007AFF;
		display: flex;
		justify-content: center;
		align-items: center;
		.myimg{
			width: 100%;
			height: 100%;
		}
		
		
	}

</style>
